<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">

<head th:fragment="headerFragment">
    <meta charset="UTF-8">
    <title>主页</title>
    <link rel="shortcut icon"  th:href="@{/static/favicon.ico}"/>
    <link rel="stylesheet" href="/static/css/iconfont.css">
    <link type="text/css" rel="stylesheet" href="/static/css/reset.css">
    <link href="/static/css/bootstrap.min.css" rel="stylesheet">
    <link type="text/css" href="/static/css/admin/index/index.css" rel="stylesheet">
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
    <script src="/static/js/bootstrap.min.js"></script>
</head>

<body>
    <div th:fragment="header-body">
        <div class="content">
            <div class="topwapper">
                <!--        顶部-->
                <div class="top">
                    <div class="top_left">
                        coder wyq
                    </div>
                    <div class="top_left2">
                        <i style="font-size: 20px;" class="iconfont icon-ego-caidan"></i>
                    </div>
                    <div class="top_right">
                        <div class="imgwapper">
                            <img src="/static/image/admin.jpg" alt="小鬼，好看吗？">
                        </div>
                        <div class="selectwapper">
                            <div class="dropdown">
                                <p class="dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                                    admin
                                </p>
                                <div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
                                    <a class="dropdown-item" href="#"><i class="iconfont icon-ego-caidan"></i> 查看网站</a>
                                    <a class="dropdown-item" href="#">个人设置</a>
                                    <a class="dropdown-item" href="#">注销</a>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <!--        侧边菜单-->
                <div class="side">
                    <ul>
                        <li><a th:href="@{/test/index}"><i class="iconfont icon-yibiaopan"></i>&nbsp;&nbsp;&nbsp;仪表盘</a></li>
                        <li><a th:href="@{/article/article}"><i class="iconfont icon-xie"></i>&nbsp;&nbsp;&nbsp;发布文章</a></li>
                        <li><a th:href="@{/articleManage/index}"><i class="iconfont icon-wenzhang1"></i>&nbsp;&nbsp;&nbsp;文章管理</a></li>
                        <li><a href=""><i class="iconfont icon-ego-caidan"></i>&nbsp;&nbsp;&nbsp;评论管理</a></li>
                        <li><a href=""><i class="iconfont icon-ego-caidan"></i>&nbsp;&nbsp;&nbsp;分类标签</a></li>
                        <li><a th:href="@{/file/index}"><i class="iconfont icon-ego-caidan"></i>&nbsp;&nbsp;&nbsp;文件管理</a></li>
                        <li><a href=""><i class="iconfont icon-ego-caidan"></i>&nbsp;&nbsp;&nbsp;友链管理</a></li>
                        <li><a href=""><i class="iconfont icon-ego-caidan"></i>&nbsp;&nbsp;&nbsp;系统设置</a></li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</body>

</html>